<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" trimDirectiveWhitespaces="true" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:useBean id="m" class="jwj8508.j2ee.basic.projectv5.model.MemberVO" />
<jsp:setProperty property="*" name="m" />
<jsp:useBean id="mdao" class="jwj8508.j2ee.basic.projectv5.dao.MemberDAO" scope="application" />
<c:set var="m" value="${mdao.readMember(m) }" />
<style type="text/css">
	form { width: 270px; margin: 0 auto; }
	label {	font-weight: bold; display: inline-block; width: 80px;
		text-align: right; margin: 0 10px 10px 0; }
</style>
<div id="content"> 
	<h2>회원정보</h2>
	<form id="myinfo" name="myinfo">
		<div>
			<label for="mno">회원번호</label> <span id="mno">${m.mno }</span>
		</div>
		<div>
			<label for="uid">아이디</label> <span id="uid">${m.uid }</span>
		</div>
		<div>
			<label for="pwd">비밀번호</label> <span id="pwd">${m.pwd }</span>
		</div>
		<div>
			<label for="name">이름</label> <span id="name">${m.name }</span>
		</div>
		<div>
			<label for="regdate">가입일</label> <span id="regdate">${m.rdate }</span>
		</div>
	</form>
</div>
<!-- content -->